Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add special case for single-CNOT decomposition of controlled-U #105

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

pablolh
Copy link
Contributor

@pablolh pablolh commented Feb 23, 2024

Fix #99

This decreases gate count for e.g CNOT decomposition of CZ (which then uses a single CNOT sandwiched by 2 Hadamard gates).

Thanks to @prince-ph0en1x for pointing towards relevant literature, namely https://arxiv.org/abs/quant-ph/9503016

@pablolh pablolh force-pushed the 99-investigate-ab-decomposition-in-cnot-decomposer branch from b87f23d to c7e397f Compare February 23, 2024 10:11
test/test_integration.py Outdated Show resolved Hide resolved
test/test_integration.py Outdated Show resolved Hide resolved
@pablolh pablolh force-pushed the 99-investigate-ab-decomposition-in-cnot-decomposer branch from c7e397f to 86f3164 Compare February 28, 2024 08:59
@pablolh pablolh force-pushed the 99-investigate-ab-decomposition-in-cnot-decomposer branch from 86f3164 to 4e741d4 Compare February 28, 2024 09:00
@pablolh pablolh merged commit 452fd54 into develop Feb 28, 2024
17 checks passed
@elenbaasc elenbaasc deleted the 99-investigate-ab-decomposition-in-cnot-decomposer branch April 9, 2024 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

investigate AB decomposition in CNOT decomposer
2 participants